<tr>
    <th>图片</th>
    <td>
        <input type="hidden" name="parameter_default[thumbnail]" id="thumbnail"
               value="{$parameter_default[thumbnail]}">
        <a href="javascript:uploadOneImage('图片上传','#thumbnail');">
<script>
var thumbnail = "{$parameter_default[thumbnail]}";
if(thumbnail){
	document.write('<img src="/upload/{$parameter_default[thumbnail]}" id="thumbnail-preview" width="135" style="cursor: pointer"/>');	
}else{
	document.write('<img src="/themes/admin_simpleboot3/public/assets/images/default-thumbnail.png" id="thumbnail-preview" width="135" style="cursor: pointer"/>');
}
</script>      
        </a>
        <input type="button" class="btn btn-sm btn-cancel-thumbnail" value="取消图片">
    </td>
</tr>
  <tr>
    <th>手机图片</th>
    <td>
        <input type="hidden" name="parameter[imgtype_wapadv]" id="wapadv"
               value="{$parameter[wapadv]}">
        <a href="javascript:uploadOneImage('图片上传','#wapadv');">
<script>
var wapadv = "{$parameter[wapadv]}";
if(wapadv){
	document.write('<img src="/upload/{$parameter[wapadv]}" id="thumbnail-preview" width="135" style="cursor: pointer"/>');	
}else{
	document.write('<img src="/themes/admin_simpleboot3/public/assets/images/default-thumbnail.png" id="wapadv-preview" width="135" style="cursor: pointer"/>');
}
</script>      
        </a>
        <input type="button" class="btn btn-sm btn-cancel-wapadv" value="取消图片">
    </td>
</tr>
<tr>
    <th>链接</th>
    <td>
        <input class="form-control" type="text" name="parameter[url]" value="{$parameter[url]}" placeholder="请输入链接">
    </td>
</tr>
<tr>
    <th>描述</th>
    <td><textarea class="form-control" type="text" name="parameter[description]" style="height:120px;" />{$parameter[description]}</textarea></td>
  </tr>